package com.zisu.secs.secs.test;

import jdk.nashorn.internal.ir.CallNode;

/**
 * @Desc: ""
 * @Author: caixiang
 * @DATE: 2020/10/16 9:26
 */
public class DoListener {


    public static void main(String[] args) {

        new Thread(()->{
            CXListener1 cxListener1 = new CXListener1();
            boolean ad = cxListener1.ad(s -> {
                System.out.println("come in DoListener");
                return s == "2";
            });
            System.out.println("DoListener boolen:"+ad);
            try {
                Thread.sleep(500000);
            } catch (InterruptedException e) {
                e.printStackTrace();
            }
        }).start();
    }
}
